﻿
<!DOCTYPE html>
<html>
  <div class="bjui-pageHeader">
      <!-- 顶部模块[如：功能按钮、搜索面板] -->
  </div>
   <div class="bjui-pageContent">
    <g:if test="${stepTableList.size > 0}">
       <table   data-toggle="tablefixed"  >
                <thead>
                 <tr>
                   <th colspan="${stepTableList.size}" align="center" >
                       <h3>
                          <p >
                           <a style="font-size:22px;" href="${request.getContextPath()}/bb214/mapTable" data-toggle="navtab"  data-options="{id:'mapTable', title:'全所在制品批数'}">
                              214所产品分布情况
                          </a>
                          </p>
                       </h3>
                      </th>
                 </tr>
                <tr align="center">
                    <g:each in="${stepTableList}" status="i" var="tableInstance">
                        <g:if test="${part==null||part!= tableInstance.DNAME}">
                         <th <g:if test="${part==null||part!=tableInstance.DNAME}"> colspan="${sumList[tableInstance.DNAME].size()}" </g:if>  align="center" >
                           <h6>
                              <p >
                                 <a style="font-size: 15px;" href="${request.getContextPath()}/bb214/stepDescTable?name=<%=tableInstance.NAME%>" data-toggle="navtab"  data-options="{id:'stepDescTable', title:'各工序在制品批数'}">
                                     ${tableInstance.DNAME}
                                 </a>
                              </p>
                            </h6>
                         </th>
                        </g:if>
                        <g:set var="part" value="${tableInstance.DNAME}"></g:set>
                    </g:each>

                </tr>
                        <tr  >
                          <g:each in="${stepTableList}" status="i" var="tableInstance">
                            <th style="height: 35px;" align="center" > ${tableInstance.DESCRIPTION}</th>
                          </g:each>
                        </tr>
                </thead>
                <tbody>
                      <tr align="center"    >
                        <g:each in="${stepTableList}" status="i" var="tableInstance">
                          <td >
                                  <a align="center" href="${request.getContextPath()}/bb214/lotIdByPartDescTable?stageId=<%=tableInstance.STAGE_ID%>&name=<%=tableInstance.NAME%>" data-toggle="navtab"  data-options="{id:'lotIdByPartDescTable', title:'根据型号查询'}">
                                      ${tableInstance.LOT_SIZE}
                                  </a>
                             </td>
                        </g:each>
                      </tr>
                </tbody>
            </table>
       </g:if>
       <g:else>
           <g:render template="../template/emptyPanel" />
       </g:else>
        </div>

   <div class="bjui-pageFooter">
    <!-- 底部模块[如：工具条、分页组件]  -->
  </div>
</html>

